package com.syh.jn.scm.domain.supplier.event;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.logistics.LogisticsBill;

public class StockRecordEvent extends DomainEvent<LogisticsBill> {

  //库存记录创建
  public static final String STOCK_RECORD_CREATED = "stockRecordCreated";

  public static StockRecordEvent bulidStockRecordCreated(Object[] values) {
    StockRecordEvent logisticsBillEvent = new StockRecordEvent();
    logisticsBillEvent.eventName = STOCK_RECORD_CREATED;
    logisticsBillEvent.values = values;
    return logisticsBillEvent;
  }

}
